package com.koocloud.electroplatemanage.service;

import com.koocloud.electroplatemanage.common.pojo.ResponseTemplate;
import com.koocloud.electroplatemanage.pojo.ProductionPlan;
import com.koocloud.electroplatemanage.pojo.ProductionTask;

public interface ProductionTaskService {



    //查询所有记录
    ResponseTemplate selectAllData(String page,String limit,String beginTime,String endTime,ProductionTask productionTask);
    //插入一条记录
    ResponseTemplate insert(ProductionTask productionTask,String userId);
    //逻辑删除一条记录
    ResponseTemplate delete(String id,String userId);
    //修改一条记录
    ResponseTemplate update(ProductionTask productionTask, String uesrId);
    //判断当前任务单是否需要拆分
    ResponseTemplate inspectTasksNum(String workOrderNumber,String taskQuantity);

    //任务单确认按钮
    ResponseTemplate confirmEntryInfo(String workOrderNumber, String uesrId);
    //根据工单号查询生产计划表数据
    ResponseTemplate selectDataByWorkOrderNumber(ProductionTask productionTask);
}
